init{
  weld=new Weld();
  weldContainer=weld.initialize();
  pa=weldContainer.instance().select(PalindromeApplication.class).get();
}
shutdown{
  weld.shutdown();
}
testBadPalindrome{
  pa.setWord("pa");
  pa.checkPalindrome();
  Assert.assertFalse(pa.getPalindrome());
}
testGoodPalindrome{
  pa.setWord("pap");
  pa.checkPalindrome();
  Assert.assertTrue(pa.getPalindrome());
}
testDataStoreContent{
  DataStore ds=pa.getDataStore();
  Assert.assertEquals(ds.dump().size(),2);
  for (  String s : ds.dump()) {
}
testDataStoreWeldSEContainer{
  BeanManager beanManager=weldContainer.getBeanManager();
  Bean<?> bean=beanManager.getBeans(DataStore.class,Utils.annotationInstance(DataStoreBinding.class)).iterator().next();
  DataStore ds=(DataStore)beanManager.getReference(bean,DataStore.class,beanManager.createCreationalContext(bean));
  Assert.assertNotNull(ds);
  Assert.assertEquals(ds.dump().size(),2);
}
